package cn.shengchao.qywx.infrastrure.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@TableName(value = "qywx_customer_qrcode_locker")
public class QywxCustomerQrcodeLocker {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 客户系统用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 规则组码
     */
    @TableField(value = "qr_state")
    private String qrState;

    /**
     * 规则用户
     */
    @TableField(value = "rule_user_id")
    private String ruleUserId;


    /**
     * 企业二维码qr_code
     */
    @TableField(value = "qr_code")
    private String qrCode;

    /**
     * 锁码状态：1 锁定 2作废
     */
    @TableField(value = "lock_status")
    private Integer lockStatus;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}